package com.lunm.im.massage;

import com.lunm.im.menu.InstructionType;
import lombok.Data;
import lombok.Getter;
import lombok.ToString;

/**
 * @version 1.0.0
 * @Author shawn
 * @Date 2024/12/31 9:02
 */
@Data
@ToString(callSuper = true)
public class RpcResponseMessage extends Message {

    /**
     * 返回值
     */
    private Object returnValue;
    /**
     * 异常值
     */
    private Exception exceptionValue;

    @Override
    public InstructionType getMessageType() {
        return InstructionType.RPC_RESPONSE;
    }
}
